|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IActionContext
A service available to services at the action scope.
| Field Summary | |
|---|---|
static int |
STATE_AFTER
After the action has been run. |
static int |
STATE_BEFORE
Before the action has been run. |
static int |
STATE_DURING
While the action is running. |
| Fields inherited from interface org.eclipse.vtp.framework.core.IReporter |
|---|
SEVERITY_DEBUG, SEVERITY_ERROR, SEVERITY_INFO, SEVERITY_WARN |
| Method Summary | |
|---|---|
IActionResult |
createResult(java.lang.String resultName)
Creates an action result with the specified name. |
IActionResult |
createResult(java.lang.String resultName,
java.lang.Throwable failureCause)
Creates an action result with the specified name. |
java.lang.String |
getActionID()
Returns the ID of the current action. |
java.lang.String |
getActionName()
Returns the name of the current action. |
int |
getActionState()
Returns the state of the current action. |
| Methods inherited from interface org.eclipse.vtp.framework.core.IExecutionContext |
|---|
clearParameter, getExecutionID, getParameter, getParameterNames, getParameters, setParameter, setParameters |
| Methods inherited from interface org.eclipse.vtp.framework.core.ISessionContext |
|---|
clearAttribute, getAttribute, getAttributeNames, getSessionID, setAttribute |
| Methods inherited from interface org.eclipse.vtp.framework.core.IProcessContext |
|---|
getProcessID, getProperty, loadClass |
| Methods inherited from interface org.eclipse.vtp.framework.core.IContext |
|---|
lookup, lookupAll |
| Methods inherited from interface org.eclipse.vtp.framework.core.ILogger |
|---|
debug, debug, debug, debug, error, error, error, error, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, log, log, warn, warn, warn, warn |
| Methods inherited from interface org.eclipse.vtp.framework.core.IReporter |
|---|
isSeverityEnabled, report, report, report, report |
| Field Detail |
|---|
static final int STATE_BEFORE
static final int STATE_DURING
static final int STATE_AFTER
| Method Detail |
|---|
java.lang.String getActionID()
java.lang.String getActionName()
int getActionState()
IActionResult createResult(java.lang.String resultName)
resultName - The name of the result to create or null
to create an undefined result.
IActionResult createResult(java.lang.String resultName,
java.lang.Throwable failureCause)
resultName - The name of the result to create or null
to create an undefined result.failureCause - The cause of the failure the action result represents
or null to not specify a failure cause.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||